using System;
using System.Collections.Generic;
using System.Xml;
using System.Xml.Serialization;

namespace ClientTools.Client.Controls.Packager.PackageClasses
{
    public class Stylesheet
    {
        private string _name;
        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }

        private string _fileName;
        public string FileName
        {
            get { return _fileName; }
            set { _fileName = value; }
        }

        private string _content;
        [XmlIgnore]
        public string Content
        {
            get { return _content; }
            set { _content = value; }
        }

        [XmlElement("Content")]
        public XmlCDataSection ContentCdata
        {
            get
            {
                XmlDataDocument doc = new XmlDataDocument();
                XmlCDataSection cd = doc.CreateCDataSection(_content);
                return cd;
            }
            set { _content = value.Value; }
        }
	
	
    }
}
